﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace RectBar
{
    static class RectHelper
    {
        public static List<Brush> Brushl = new List<Brush>()
        {
            Brushes.Aqua,Brushes.Tomato,
            Brushes.Teal,Brushes.BlueViolet,
            Brushes.Chartreuse,Brushes.Violet,
            Brushes.SpringGreen,Brushes.MediumVioletRed,
        };

        public static Brush GetBrush(int index)
        {
            index = index % Brushl.Count;
            return Brushl[index];
        }
    }
}
